﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Globalization;

namespace Blog.Framework.Models
{
    public class ArchiveCount
    {
        public int Year { get; set; }
        public int Month { get; set; }

        public int TotalPosts { get; set; }

        public string MonthName
        {
            get
            {
                return CultureInfo.CurrentCulture.DateTimeFormat.GetMonthName(Month);
            }
        }
    }
}
